﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ZedGraph;

namespace erse253_homework
{
    public partial class Correleogram : BaseWindowChart
    {
        public Correleogram(double[,] data, bool vertical, int tolerance)
        {
            InitializeComponent();

            double[] x;
            double[] y;
            Chart variogram = new Chart();
            variogram.Correleogram(data, out x, out y, vertical, tolerance);
            base.GenerateLine(x, y, "Correleogram", "Distante |h|", "Value", "Correleogram");
        }


    }
}
